package demo01;

/**
 * @author shkstart
 * @create 2020-04-25 22:06
 */
public class Demo {
    public static void main(String[] args) {
        //创建包子对象
        BaoZi baoZi = new BaoZi();
        //创建包子铺线程，开启，生产包子
        new BaoZiPu(baoZi).start();
        //创建吃货线程,开启，吃包子;
        new ChiHuo(baoZi).start();
    }
}
